package com.xuxin.nantai.contract;

import com.xuxin.nantai.bean.AllAreaBean;
import com.xuxin.nantai.bean.HangUpdateLoginBean;
import com.xuxin.nantai.presenter.AllAreaPresenter;

/**
 * Created by xu_xin
 * Created on 2020.09.17 0017
 */
public interface AllAreaContract {

    interface Model {

        void getDefaultArea(AllAreaPresenter presenter, String loginName);

        void getAllArea(AllAreaPresenter presenter);
    }

    interface View extends BaseContract.view {

        void onSuccess(HangUpdateLoginBean hangUpdateLoginBean);

        void onSuccess(AllAreaBean allAreaBean);
    }

    interface Presenter extends BaseContract.presenter {

        void getDefaultArea(String loginName);

        void getAllArea();

        void onSuccess(HangUpdateLoginBean hangUpdateLoginBean);

        void onSuccess(AllAreaBean allAreaBean);
    }
}